export const column = [
  {
    colKey: 'row-select',
    type: 'multiple',
    width: 100,
    checkProps: ({ row, rowIndex }) => ({ disabled: row.isDisable }),
    // checkProps: ({ rowIndex }) => ({ disabled: rowIndex % 2 !== 0 }),
    // disabled: ({ row }) => {
    //   console.log(row);
    //   return row.isDisable == true;
    // },
  },
  { colKey: 'coverUrl', title: '图片', width: 100, ellipsis: true },
  { colKey: 'name', title: '展品名称', width: 100, ellipsis: true },
  { colKey: 'typeId', title: '类型', width: 150, ellipsis: true },
  { colKey: 'ageId', title: '年代', width: 240, ellipsis: true },
  { colKey: 'SpecificAge', title: '具体年代', width: 120, ellipsis: true },
  { colKey: 'size', title: '尺寸', width: 200, ellipsis: true },
  { colKey: 'levelId', title: '级别', width: 150, ellipsis: true },
  {
    colKey: 'publishStatus',
    title: '来源',
    width: 150,
    ellipsis: true,
  },
  {
    colKey: 'operation',
    title: '操作',
    width: 200,
    fixed: 'right',
    cell: 'operation',
    ellipsis: true,
  },
];
